package com.metaera.app.data.model;

public class ProfileResponse {

    private int id;
    private String  mobile;
    private String  nickname;
    private String  avatar_img;
    private int activity_num;
    private String  update_time;
    private String  create_time;
    private String  password;
    private int state;
    private String  commission;
    private String  frozen;
    private String  balance;
    private String  fee;
    private String  province;
    private String  city;
    private String  area;
    private int sex;
    private String  address;
    private int type;
    private String  desc;
    private String  position;
    private String  email;
    private String  wechat;
    private String  twitter;
    private int is_delete;
    private String  weibo;
    private String  knowledge_planet;
    private String  official_account;
    private String  phone;
    private int is_show_phone;
    private int is_log_off;
    private String  log_off_time;
    private String  submit_time;
    private String  phone_code;
    private int follow_num;
    private int fans_num;
    private int visits_num;
    private int is_follow;

    private int is_show_wechat;

    private NewActivity new_activity;

    public int getIs_show_wechat() {
        return is_show_wechat;
    }

    public void setIs_show_wechat(int is_show_wechat) {
        this.is_show_wechat = is_show_wechat;
    }

    public NewActivity getNew_activity() {
        return new_activity;
    }

    public void setNew_activity(NewActivity new_activity) {
        this.new_activity = new_activity;
    }

    public int getId() {
        return id;
    }

    public int getActivity_num() {
        return activity_num;
    }

    public void setActivity_num(int activity_num) {
        this.activity_num = activity_num;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickname() {
        if (nickname == null) {
            return "";
        }

//        if (nickname.length() > 20) {
//            return nickname.substring(0, 20) + "...";
//        }

        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAvatar_img() {
        return avatar_img;
    }

    public void setAvatar_img(String avatar_img) {
        this.avatar_img = avatar_img;
    }

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getCommission() {
        return commission;
    }

    public void setCommission(String commission) {
        this.commission = commission;
    }

    public String getFrozen() {
        return frozen;
    }

    public void setFrozen(String frozen) {
        this.frozen = frozen;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getTwitter() {
        return twitter;
    }

    public void setTwitter(String twitter) {
        this.twitter = twitter;
    }

    public int getIs_delete() {
        return is_delete;
    }

    public void setIs_delete(int is_delete) {
        this.is_delete = is_delete;
    }

    public String getWeibo() {
        return weibo;
    }

    public void setWeibo(String weibo) {
        this.weibo = weibo;
    }

    public String getKnowledge_planet() {
        return knowledge_planet;
    }

    public void setKnowledge_planet(String knowledge_planet) {
        this.knowledge_planet = knowledge_planet;
    }

    public String getOfficial_account() {
        return official_account;
    }

    public void setOfficial_account(String official_account) {
        this.official_account = official_account;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getIs_show_phone() {
        return is_show_phone;
    }

    public void setIs_show_phone(int is_show_phone) {
        this.is_show_phone = is_show_phone;
    }

    public int getIs_log_off() {
        return is_log_off;
    }

    public void setIs_log_off(int is_log_off) {
        this.is_log_off = is_log_off;
    }

    public String getLog_off_time() {
        return log_off_time;
    }

    public void setLog_off_time(String log_off_time) {
        this.log_off_time = log_off_time;
    }

    public String getSubmit_time() {
        return submit_time;
    }

    public void setSubmit_time(String submit_time) {
        this.submit_time = submit_time;
    }

    public String getPhone_code() {
        return phone_code;
    }

    public void setPhone_code(String phone_code) {
        this.phone_code = phone_code;
    }

    public int getFollow_num() {
        return follow_num;
    }

    public void setFollow_num(int follow_num) {
        this.follow_num = follow_num;
    }

    public int getFans_num() {
        return fans_num;
    }

    public void setFans_num(int fans_num) {
        this.fans_num = fans_num;
    }

    public int getVisits_num() {
        return visits_num;
    }

    public void setVisits_num(int visits_num) {
        this.visits_num = visits_num;
    }

    public int getIs_follow() {
        return is_follow;
    }

    public void setIs_follow(int is_follow) {
        this.is_follow = is_follow;
    }

    public static class NewActivity {
        private int id;
        private String title;
        private int release_time_stamp;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getRelease_time_stamp() {
            return release_time_stamp;
        }

        public void setRelease_time_stamp(int release_time_stamp) {
            this.release_time_stamp = release_time_stamp;
        }
    }

}
